package com.yuexunit.operationman.nbsy.module.OperationRiskAssessment.bean;

import java.util.ArrayList;

/**
 * Created by work-jx on 2017/8/11.
 */
public class RiskAssessmentBean {

    /**
     * code : 200
     * desc : 发送数据成功
     * object : {"risk":{"riskId":21,"operationNo":"2017222151","inHospitalNo":"201722215","departmentNo":null,"department":"耳鼻喉科","patientNo":null,"patientName":"虞金珊","bedPosition":"10 02","patientSex":"2","patientAge":53,"operandi":"经直达喉镜喉肿物摘除术","operationSign":"","operationSignUrl":"","operationSignTime":null,"operationSignTimeStr":null,"anesthetistSign":"","anesthetistSignUrl":"","anesthetistSignTime":null,"anesthetistSignTimeStr":null,"nursesSign":"","nursesSignUrl":"","nursesSignTime":null,"nursesSignTimeStr":null,"riskScore":2,"riskRank":null,"riskDoctor":"","riskDate":null,"status":1,"createId":null,"createName":null,"createTime":null,"updateId":null,"updateName":null,"updateTime":null},"riskItemList":[{"riskItemId":140,"riskId":21,"itemCode":"suiFang","itemName":null,"itemValue":""},{"riskItemId":141,"riskId":21,"itemCode":"qieKou","itemName":null,"itemValue":""},{"riskItemId":142,"riskId":21,"itemCode":"QK_L","itemName":null,"itemValue":"3;1"},{"riskItemId":143,"riskId":21,"itemCode":"MZ_P","itemName":null,"itemValue":"4;1"},{"riskItemId":144,"riskId":21,"itemCode":"SJ_T","itemName":null,"itemValue":"1;0"},{"riskItemId":145,"riskId":21,"itemCode":"LB_K","itemName":null,"itemValue":"2"},{"riskItemId":146,"riskId":21,"itemCode":"LB_JZ","itemName":null,"itemValue":"0"}]}
     */

    private int code;
    private String desc;
    /**
     * risk : {"riskId":21,"operationNo":"2017222151","inHospitalNo":"201722215","departmentNo":null,"department":"耳鼻喉科","patientNo":null,"patientName":"虞金珊","bedPosition":"10 02","patientSex":"2","patientAge":53,"operandi":"经直达喉镜喉肿物摘除术","operationSign":"","operationSignUrl":"","operationSignTime":null,"operationSignTimeStr":null,"anesthetistSign":"","anesthetistSignUrl":"","anesthetistSignTime":null,"anesthetistSignTimeStr":null,"nursesSign":"","nursesSignUrl":"","nursesSignTime":null,"nursesSignTimeStr":null,"riskScore":2,"riskRank":null,"riskDoctor":"","riskDate":null,"status":1,"createId":null,"createName":null,"createTime":null,"updateId":null,"updateName":null,"updateTime":null}
     * riskItemList : [{"riskItemId":140,"riskId":21,"itemCode":"suiFang","itemName":null,"itemValue":""},{"riskItemId":141,"riskId":21,"itemCode":"qieKou","itemName":null,"itemValue":""},{"riskItemId":142,"riskId":21,"itemCode":"QK_L","itemName":null,"itemValue":"3;1"},{"riskItemId":143,"riskId":21,"itemCode":"MZ_P","itemName":null,"itemValue":"4;1"},{"riskItemId":144,"riskId":21,"itemCode":"SJ_T","itemName":null,"itemValue":"1;0"},{"riskItemId":145,"riskId":21,"itemCode":"LB_K","itemName":null,"itemValue":"2"},{"riskItemId":146,"riskId":21,"itemCode":"LB_JZ","itemName":null,"itemValue":"0"}]
     */

    private ObjectEntity object;

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setObject(ObjectEntity object) {
        this.object = object;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public ObjectEntity getObject() {
        return object;
    }

    public static class ObjectEntity {
        /**
         * riskId : 21
         * operationNo : 2017222151
         * inHospitalNo : 201722215
         * departmentNo : null
         * department : 耳鼻喉科
         * patientNo : null
         * patientName : 虞金珊
         * bedPosition : 10 02
         * patientSex : 2
         * patientAge : 53
         * operandi : 经直达喉镜喉肿物摘除术
         * operationSign :
         * operationSignUrl :
         * operationSignTime : null
         * operationSignTimeStr : null
         * anesthetistSign :
         * anesthetistSignUrl :
         * anesthetistSignTime : null
         * anesthetistSignTimeStr : null
         * nursesSign :
         * nursesSignUrl :
         * nursesSignTime : null
         * nursesSignTimeStr : null
         * riskScore : 2
         * riskRank : null
         * riskDoctor :
         * riskDate : null
         * status : 1
         * createId : null
         * createName : null
         * createTime : null
         * updateId : null
         * updateName : null
         * updateTime : null
         */

        private RiskEntity risk;
        /**
         * riskItemId : 140
         * riskId : 21
         * itemCode : suiFang
         * itemName : null
         * itemValue :
         */

        private ArrayList<RiskItemListEntity> riskItemList;

        public void setRisk(RiskEntity risk) {
            this.risk = risk;
        }

        public void setRiskItemList(ArrayList<RiskItemListEntity> riskItemList) {
            this.riskItemList = riskItemList;
        }

        public RiskEntity getRisk() {
            return risk;
        }

        public ArrayList<RiskItemListEntity> getRiskItemList() {
            return riskItemList;
        }

        public static class RiskEntity {
            private String riskId;
            private String operationNo;
            private String inHospitalNo;
            private String departmentNo;
            private String department;
            private String patientNo;
            private String patientName;
            private String bedPosition;
            private String patientSex;
            private String patientAge;
            private String operandi;
            private String operationSign;
            private String operationSignUrl;
            private String operationSignTime;
            private String operationSignTimeStr;
            private String anesthetistSign;
            private String anesthetistSignUrl;
            private String anesthetistSignTime;
            private String anesthetistSignTimeStr;
            private String nursesSign;
            private String nursesSignUrl;
            private String nursesSignTime;
            private String nursesSignTimeStr;
            private String riskScore;
            private String riskRank;
            private String riskDoctor;
            private String riskDate;
            private String status;
            private String createId;
            private String createName;
            private String createTime;
            private String updateId;
            private String updateName;
            private String updateTime;

            public void setRiskId(String riskId) {
                this.riskId = riskId;
            }

            public void setOperationNo(String operationNo) {
                this.operationNo = operationNo;
            }

            public void setInHospitalNo(String inHospitalNo) {
                this.inHospitalNo = inHospitalNo;
            }

            public void setDepartmentNo(String departmentNo) {
                this.departmentNo = departmentNo;
            }

            public void setDepartment(String department) {
                this.department = department;
            }

            public void setPatientNo(String patientNo) {
                this.patientNo = patientNo;
            }

            public void setPatientName(String patientName) {
                this.patientName = patientName;
            }

            public void setBedPosition(String bedPosition) {
                this.bedPosition = bedPosition;
            }

            public void setPatientSex(String patientSex) {
                this.patientSex = patientSex;
            }

            public void setPatientAge(String patientAge) {
                this.patientAge = patientAge;
            }

            public void setOperandi(String operandi) {
                this.operandi = operandi;
            }

            public void setOperationSign(String operationSign) {
                this.operationSign = operationSign;
            }

            public void setOperationSignUrl(String operationSignUrl) {
                this.operationSignUrl = operationSignUrl;
            }

            public void setOperationSignTime(String operationSignTime) {
                this.operationSignTime = operationSignTime;
            }

            public void setOperationSignTimeStr(String operationSignTimeStr) {
                this.operationSignTimeStr = operationSignTimeStr;
            }

            public void setAnesthetistSign(String anesthetistSign) {
                this.anesthetistSign = anesthetistSign;
            }

            public void setAnesthetistSignUrl(String anesthetistSignUrl) {
                this.anesthetistSignUrl = anesthetistSignUrl;
            }

            public void setAnesthetistSignTime(String anesthetistSignTime) {
                this.anesthetistSignTime = anesthetistSignTime;
            }

            public void setAnesthetistSignTimeStr(String anesthetistSignTimeStr) {
                this.anesthetistSignTimeStr = anesthetistSignTimeStr;
            }

            public void setNursesSign(String nursesSign) {
                this.nursesSign = nursesSign;
            }

            public void setNursesSignUrl(String nursesSignUrl) {
                this.nursesSignUrl = nursesSignUrl;
            }

            public void setNursesSignTime(String nursesSignTime) {
                this.nursesSignTime = nursesSignTime;
            }

            public void setNursesSignTimeStr(String nursesSignTimeStr) {
                this.nursesSignTimeStr = nursesSignTimeStr;
            }

            public void setRiskScore(String riskScore) {
                this.riskScore = riskScore;
            }

            public void setRiskRank(String riskRank) {
                this.riskRank = riskRank;
            }

            public void setRiskDoctor(String riskDoctor) {
                this.riskDoctor = riskDoctor;
            }

            public void setRiskDate(String riskDate) {
                this.riskDate = riskDate;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public void setCreateId(String createId) {
                this.createId = createId;
            }

            public void setCreateName(String createName) {
                this.createName = createName;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public void setUpdateId(String updateId) {
                this.updateId = updateId;
            }

            public void setUpdateName(String updateName) {
                this.updateName = updateName;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getRiskId() {
                return riskId;
            }

            public String getOperationNo() {
                return operationNo;
            }

            public String getInHospitalNo() {
                return inHospitalNo;
            }

            public String getDepartmentNo() {
                return departmentNo;
            }

            public String getDepartment() {
                return department;
            }

            public String getPatientNo() {
                return patientNo;
            }

            public String getPatientName() {
                return patientName;
            }

            public String getBedPosition() {
                return bedPosition;
            }

            public String getPatientSex() {
                return patientSex;
            }

            public String getPatientAge() {
                return patientAge;
            }

            public String getOperandi() {
                return operandi;
            }

            public String getOperationSign() {
                return operationSign;
            }

            public String getOperationSignUrl() {
                return operationSignUrl;
            }

            public String getOperationSignTime() {
                return operationSignTime;
            }

            public String getOperationSignTimeStr() {
                return operationSignTimeStr;
            }

            public String getAnesthetistSign() {
                return anesthetistSign;
            }

            public String getAnesthetistSignUrl() {
                return anesthetistSignUrl;
            }

            public String getAnesthetistSignTime() {
                return anesthetistSignTime;
            }

            public String getAnesthetistSignTimeStr() {
                return anesthetistSignTimeStr;
            }

            public String getNursesSign() {
                return nursesSign;
            }

            public String getNursesSignUrl() {
                return nursesSignUrl;
            }

            public String getNursesSignTime() {
                return nursesSignTime;
            }

            public String getNursesSignTimeStr() {
                return nursesSignTimeStr;
            }

            public String getRiskScore() {
                return riskScore;
            }

            public String getRiskRank() {
                return riskRank;
            }

            public String getRiskDoctor() {
                return riskDoctor;
            }

            public String getRiskDate() {
                return riskDate;
            }

            public String getStatus() {
                return status;
            }

            public String getCreateId() {
                return createId;
            }

            public String getCreateName() {
                return createName;
            }

            public String getCreateTime() {
                return createTime;
            }

            public String getUpdateId() {
                return updateId;
            }

            public String getUpdateName() {
                return updateName;
            }

            public String getUpdateTime() {
                return updateTime;
            }
        }

        public static class RiskItemListEntity {
            private String riskItemId;
            private String riskId;
            private String itemCode;
            private String itemName;
            private String itemValue;

            public void setRiskItemId(String riskItemId) {
                this.riskItemId = riskItemId;
            }

            public void setRiskId(String riskId) {
                this.riskId = riskId;
            }

            public void setItemCode(String itemCode) {
                this.itemCode = itemCode;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public void setItemValue(String itemValue) {
                this.itemValue = itemValue;
            }

            public String getRiskItemId() {
                return riskItemId;
            }

            public String getRiskId() {
                return riskId;
            }

            public String getItemCode() {
                return itemCode;
            }

            public String getItemName() {
                return itemName;
            }

            public String getItemValue() {
                return itemValue;
            }
        }
    }
}
